|
Sending emails using Exchange Online with OAuth
Requirements
- Exact Globe+ or Exact Compact+ 500SP7 or 501SP1
from 15 December 2022 or newer.
- Exact Globe Next or Exact Compact 422SP14,
423SP7, or 424SP1 from 9 December 2022 or newer.
- Exact Synergy Enterprise 267SP14, 500SP7 or 501SP1 from 15
December 2022 or newer.
- Exact Lightweight Integration Server (ELIS) for product
update 267SP14, 500SP7 or 501SP1 from 5 December 2022 or newer.
Creating application ID in Microsoft Azure for Microsoft Exchange Online
You need an application ID for use with Exact Exchange Migration Tool and solutions to access data in Microsoft Exchange Online. Ensure the following steps are completed before connecting the Exact solutions to the Microsoft Exchange Online application:
- Create an application ID in Microsoft Azure from App registrations.
- Configure authentication for your App.
- Configure security requirements.
- Configure API permissions for your App.
- Obtain the application ID and directory IDs to be used in the related Exact solutions.
Create an application ID in Microsoft Azure from App registrations
- Go
to https://portal.azure.com.
- In
the Azure services section, click Azure Active Directory.
- On
the left panel, click App registrations.
- Click
+ New registration.
- On
the Register an application page, define a name for the application and
click Register. The application and directory IDs will be shown in the next page in the Essentials section.
Configure authentication for your App
- On the left panel, click Authentication in the Manage section after the above steps have been completed.
- Under the Web section, click Add URI.
- Specify the address at the available field.
- In the Implicit grant section, select the Access tokens check box.
- In the Advanced settings section, make sure the Default client type option is set to Yes.
- Click Save.
- Next, click Add a platform in the Platform configurations section. The Configure platforms panel will be displayed.
- Click Mobile and desktop applications.
- Fill in the URI address at Custom redirect URIs field.
- Click Configure then click Save at the top of the page.
Configure security requirements
- On
the left panel, click Certificates & secrets.
- Click
+ New client secret.
- Define
the description, select the expiry period, and click Add.
Note: When the client secret expires, you must create a new client
secret and enter the new value in your Exact product.
- The Client
secret is displayed in the Value column.
Note: It is important to note down the client secret at this point
because it is only visible after creating it. The client secret will not be
displayed again.
Configure API permissions for your App
- On the
left panel, click API permissions.
- Click +
Add a permission.
- Click the Microsoft APIs tab, then click Microsoft Graph.
- Click Delegated permissions and enable the following:
- OpenId permissions > email, offline_access, openid, and profile.
- Click Application permissions and enable the following:
- AccessReview > AccessReview.Read.All
- Mail > Mail.Send
- Click Add permissions after each of the two steps above.
- Next, click + Add a permission again.
- Click the APIs my organization uses tab.
- Click Delegated permissions and search for office 365 exchange in the filter field. Select Office 365 Exchange Online and enable the following:
- EWS > WES.AccessAsUser.All
- Click Application permissions and enable the following:
- Other permissions > full_access_as_app
- Click Add permissions after each of the two steps above.
- If the Status
column for the respective API or permission name is blank or it displays “Not
granted for the Domain name”, click Grant admin consent for [Domain name].
- You will
see the “Grant admin consent confirmation.” message.
- Click Yes.
The status will be updated to “Granted”.
Obtain the application ID and directory IDs to be used in the related Exact solutions
- The
Tenant ID is displayed at Directory (tenant) ID, and the Client
ID is displayed at Application (client) ID under the Essentials
section.
Define settings in Exact Globe+, Exact Globe Next, Exact
Compact+, and Exact Compact
- Go to .
- Click the Output tab.
- Select Exchange Online in the E-mail
section.
- At Account under the Sender
section, define the e-mail address that will be used for the sender.
- At Client ID, enter the Client ID from
the Azure portal.
- At Tenant ID, enter the Tenant ID from
the Azure portal.
- At Client Secret, enter the Client secret
from the Azure portal.
- Click Save.
Define settings in Exact Synergy Enterprise
- Go to .
- Click Edit.
- In the Server section at E-mail
, select Exchange Online.
- At Tenant ID, enter the Tenant ID from
the Azure portal.
- At Client ID, enter the Client ID from
the Azure portal.
- At Client Secret, enter the Client secret
from the Azure portal.
- At Sender account (email), define the
e-mail address that will be used for the sender.
- Click Save.
Define settings in Exact Lightweight
Integration Server (ELIS)
- Open
Exact Lightweight Integration Server Management (ELIS) Console.
- Select
Settings on the left panel.
- Select
Exchange Online at Server.
- Type
the tenant ID at Tenant ID.
- Type
the application (client) ID at Client ID.
- Type
the client secret at Client secret.
- Type
the sender account email at Sender account.
- Click Save.
Main Category: |
Attachments & notes |
Document Type: |
Support - On-line help |
Category: |
|
Security level: |
All - 0 |
Sub category: |
|
Document ID: |
31.049.004 |
Assortment: |
Exact Globe+
|
Date: |
18-04-2024 |
Release: |
|
Attachment: |
|
Disclaimer |
|
|